package com.arcaneshift.model.action.game;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.arcaneshift.servlet.util.game.Story;

public class BattlePlayer implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private Player player;
	private Deck deck;
	private Hand hand;
	
	private List<Story> stories;
	private int playerNumber;
	private boolean ready;
	
	public BattlePlayer(Player player, Deck deck, Hand hand) {
		this.player = player;
		this.deck = deck;
		this.hand = hand;
		
		stories = new ArrayList<Story>();
	}
	
	public void addStory(Story story) {
		stories.add(story);
	}
	
	public void clearStories() {
		stories.clear();
	}
	
	public Player getPlayer() {
		return player;
	}
	
	public void setPlayer(Player player) {
		this.player = player;
	}

	public Deck getDeck() {
		return deck;
	}

	public void setDeck(Deck deck) {
		this.deck = deck;
	}

	public Hand getHand() {
		return hand;
	}

	public void setHand(Hand hand) {
		this.hand = hand;
	}

	public int getPlayerNumber() {
		return playerNumber;
	}

	public void setPlayerNumber(int playerNumber) {
		this.playerNumber = playerNumber;
	}
	
	public boolean getReady() {
		return ready;
	}
	
	public void setReady(boolean ready) {
		this.ready = ready;
	}
	
	public List<Story> getStories() {
		return stories;
	}
}
